package net.sf.window.scope.tl;

import java.util.UUID;

public class WindowScopeRegistry 
{
	private static ThreadLocal<String> windowId = new ThreadLocal<String>();
	static void createWindowScope()
	{
		setWindowScope(UUID.randomUUID().toString());
	}
	static void setWindowScope(String id) 
	{
		windowId.set(id);
	}
	public static String getWindowScope()
	{
		return windowId.get();
	}

}
